﻿@model IEnumerable<Category>
@using KhoaLuan.Resources
<div class="panel-heading">
    <span class="glyphicon glyphicon-th-list"></span>
    <strong>@Common.ChungLoai</strong>
</div>

<div class="list-group">
    @foreach (var p in Model)
    {
        <a href="/Product/ListByCategory/@p.Id" class="list-group-item">
    
            @if (Request.Cookies["lang"] != null && Request.Cookies["lang"].Value == "vi")
            {
                @p.NameVN
            }
            else
            {
                @p.Name
            }
   
        </a>
    }
</div>